<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">活动列表</li>
  </ol>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="50">ID</th>
        <th width="">活动名称</th>
        <th width="100">活动Code</th>
        <th width="220">活动产品专题跳转名称</th>
        <th width="180">活动专题跳转链接</th>
        <th width="120">活动开始时间</th>
        <th width="120">活动结束时间</th>
        <th width="80">活动状态</th>
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="a in activityList">
        <td>{{a.id}}</td>
        <td>{{a.activitiesName}}</td>
        <td>{{a.activitiesCode}}</td>
        <td>{{a.activitiesSkipName}}</td>
        <td>{{a.activitiesSkipLink}}</td>
        <td>{{a.activitiesStartDate | date:'yyyy-MM-dd'}}</td>
        <td>{{a.activitiesEndDate | date:'yyyy-MM-dd'}}</td>
        <td>{{a.activitiesStatus | activityProductStatusRender}}</td>
        <td>          
          <a href="#/activity/add?activityId={{a.id}}">编辑</a>
          <a ng-show="a.activitiesStatus == '01'" href="#/million/add?activityCode={{a.activitiesCode}}">添加产品</a>
        </td>
      </tr>
    </tbody>
  </table>

  <div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="activityList.length > 0"></div>
</div>
